package com.zrx.govern.component.easyexcel.starter.feign.entity;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import java.util.List;
import java.util.Map;

/**
 * @author zhangxiaowei
 * @description 返回字典数据树dto
 */
@Data
@Builder
public class DicTreeDto {

    @Tolerate
    public DicTreeDto() {
    }

    /**
     * 字典目录id
     */
    private String id;

    /**
     * 数据来源
     */
    private String source;

    /**
     * 字典目录名称
     */
    private String name;

    /**
     * 字典目录类型 1-树形 2-下拉 3-地图
     */
    private String type;

    /**
     * 字典code
     */
    private String code;

    /**
     * 字典数据树tree
     */
    private List<Map<String, Object>> options;

}
